MANIPULATING ALGORITHMS